package com.yh.dp.principle.dip;

/**
 * @ClassName Driver
 * @Description 司机具体类
 * @Author 0715-YuHao
 * @Date 2021/1/3 16:05
 */
public class Driver implements IDriver{
    @Override
    public void drive(ICar car) {
        System.out.println("司机开车：");
        car.run();
    }
}
